* w32fns.c (Fx_display_color_cells): Instead of using NCOLORS,
authorDaniel Colascione <dancol@dancol.org>
Mon, 8 Oct 2012 18:44:42 +0000 (10:44 -0800)
committerDaniel Colascione <dancol@dancol.org>
Mon, 8 Oct 2012 18:44:42 +0000 (10:44 -0800)
commit5b27b2ad669b48cc0854eeb3cba4dfb8231983c4
tree3965687c4296d40d5963d860092f1e13d056cee8
parentb9d0e251bfaeaa440d277f56b15a516e99a97adf
* w32fns.c (Fx_display_color_cells): Instead of using NCOLORS,
which is broke under remote desktop, calculating the number of
colors available for a display based on the display's number of
planes and number of bits per pixel per plane.  (bug#10397).
src/ChangeLog
src/w32fns.c